package com.easylinkin.linkappapi.grid.models.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 网格二维码管理
 *
 * @author 
 * @since 2024-05-27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("grid_qr_code")
public class UpdateGridQrCode implements Serializable{
    private static final long serialVersionUID=1L;

    @NotNull(message = "ID不能为空")
    private Integer id;

    /**
     * 状态 0:空闲 1:在用 2:异常 3:作废
     */
    @NotNull(message = "状态不能为空")
    private Integer codeStatus;

}
